import React, {useMemo} from 'react';
import {Radio, Button, Divider, Tooltip} from 'antd';
import {userRoundIdx, initUserRoundIdx} from '~/utils/const';

const UserRoundIdx = props => {
    const {
        onRadioChange
    } = props;

    return (
        <Radio.Group
            defaultValue={initUserRoundIdx}
            onChange={onRadioChange}
            optionType="button"
            buttonStyle="solid"
        >
            <Radio.Button value={1}>一轮班</Radio.Button>
            <Radio.Button value={2}>二轮班</Radio.Button>
        </Radio.Group>
    );
};

export default UserRoundIdx;
